Integrated circuit bilateral current source

ABSTRACT

A bilateral current source is provided for generating equal and opposite sourcing and sinking currents which are useful, for example, in linearly charging and discharging a capacitor. A reference current source utilizes a lateral PNP transistor to provide high output impedance and NPN transistor are interconnected with the lateral PNP transistor to insure that a reference current output is independent of the lateral PNP transistor&#39;&#39;s Beta and temperature variations. A pair of diode arrangements connect the reference current source to an opposite current generating circuit and one of the pair of diodes also connect the reference current output to a current output terminal to which a capacitor which is to be charged and discharged is connected. The opposite current generating circuit is coupled by a switch arrangement to a source of reference potential which may be ground and the switching arrangement is driven by a control voltage. When the opposite current generating circuit is floating the constant reference current flows through the one of the diode arrangements and out the current output terminal to charge the capacitor at a linear rate. When the control voltage actuates the switching arrangement, the opposite current generating circuit is grounded and the one of the pair of diode arrangements is reverse biased. The other of the diode arrangements is forward biased so that the reference current flows through the other of the diode arrangements and into the opposite current generating circuit. The opposite current generating circuit thereupon draws a current from the current output terminal which is approximately equal to the reference current so that the capacitor is linearly discharged at approximately the same rate at which it was charged.

United States Patent Mattis 1 Aug. 8, 1972 [54] INTEGRATED CIRCUIT BILATERAL CURRENT SOURCE [72] Inventor: John A. Mattis, Sunnyvale, Calif.

[73] Assignee'. Signetics Corporation, Sunnyvale,

Calif.

[22] Filed: Feb. 22, 1971 [21] App]. No.: 117,347

[52] U.S. Cl. ..323/4, 307/109, 307/270, 307/313, 320/1, 317/23 SY, 323/9, 323/22 T [51] Int. Cl ..GOSI 1/58, HOZj 3/10 [58] Field of Search.....323/4, 9, 17, 22 T, 69; 320/1, 307/109,110, 270, 297, 313; 317/235 Y [56] References Cited UNITED STATES PATENTS Primary Examiner-Gerald Goldberg Attorney-Flehr, Hohbach, Test, Albritton & Herbert [57] ABSTRACT A bilateral current source is provided for generating equal and opposite sourcing and sinking currents which are useful, for example, in linearly charging and discharging a capacitor. A reference current source utilizes a lateral PNP transistor to provide high output impedance and NPN transistor are interconnected with the lateral PNP transistor to insure that a reference current output is independent of the lateral PNP transistors {3 and temperature variations. A pair of diode arrangements connect the reference current source to an opposite current generating circuit and one of the pair of diodes also connect the reference current output to a current output terminal to which a capacitor which is to be charged and discharged is connected. The opposite current generating circuit is coupled by a switch arrangement to a source of reference potential which may be ground and the switching arrangement is driven by a control voltage. When the opposite current generating circuit is floating the constant reference current flows through the one of the diode arrangements and out the current output terminal to charge the capacitor at a linear rate. When the control voltage actuates the switching arrangement, the opposite current generating circuit is grounded and the one of the pair of diode arrangements is reverse biased. The other of the diode arrangements is forward biased so that the reference current flows through the other of the diode arrangements and into the opposite current generating circuit. The opposite current generating circuit thereupon draws a current from the current output terminal which is approximately equal to the reference current so that the capacitor is linearly discharged at approximately the same rate at which it was charged.

18 Claims, 6 Drawing Figures PATENTED AUG 8 I972 FIG- 2 SHEET 2 BF 3 INYENTOR. Jan/v .4. MATT/5 INTEGRATED CIRCUIT BILATERAL CURRENT SOURCE BACKGROUND OF THE INVENTION This invention generally pertains to an integrated circuit bilateral current source and more particularly pertains to such a bilateral current source useful in linearly charging and discharging a capacitor at the same rate.

Many integrated circuits require a bilateral current source. For example, a bilateral current source can be used to generate constant and equal sourcing and sinking currents for linearly charging and discharging a capacitor. The capacitor can be utilized as a voltage reference for a Schmitt Trigger used to drive a voltagecontrolled oscilator. The stability and linearity of such an oscilator, of course, depends upon how constant and how equal are the sourcing and sinking currents. In order to achieve high output impedance of a current source so that the current is constant, prior art integrated circuits have utilized a lateral PNP transistor which has a high impedance looking into its collector. However, as is well known, lateral PNP transistors have very low values of current gain and are very much affected by temperature variations.

SUMMARY OF THE INVENTION Accordingly, it is an object of this invention to provide a bilateral current source for generating equal and opposite sourcing and sinking currents.

It is another object of this invention to provide a bilateral current source for generating equal and opposite sourcing and sinking currents which utilizes a single reference current source.

It is another object of this invention to provide a reference current source for use in a bilateral current source.

It is another object of this invention to provide a reference current source for generating a constant current independent of temperature variations.

Briefly, in accordance with one embodiment of the invention, a reference current source is comprised of a lateral PNP transistor interconnected with NPN transistors to provide a reference current source having a high output impedance and producing a constant reference current independent of temperature and cur rent gain variations in the lateral PNP transistor. The reference current output is coupled through diode means to a current output terminal to which a capacitor to be charged and discharged is connected. An opposite current generating circuit is connected to the current output terminal, and through an additional diode means to the reference current. The opposite current generating circuit also has a control input and switching means are provided which are responsive to a control voltage for connecting the control input to a reference potential. When the switching means is not actuated, the opposite current generating circuit is floating and the reference current flows through the diode means and into the capacitor for charging the capacitor. When the switching means is actuated and the opposite current generating circuit is connected to the source of reference potential, the diode means is reverse biased so that the reference current flows through the additional diode means into the opposite current generating circuit. The opposite current generating circuit thereupon draws a current from the current output terminal and hence the capacitor which is approximately equal to the constant reference current so that the capacitor is linearly discharged at a rate approximately equal to the rate at which it was charged.

BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a overall circuit diagram of a bilateral current source showing it connected to a capacitor which serves as a reference voltage for a Schmitt Trigger.

FIG. 2 is a schematic circuit diagram of the reference current source of FIG. 1 with the various current relationships labeled.

FIG. 3a and FIGS. 3b, 3c are cross section and top plan views respectively of the lateral PNP transistor integrated circuit structure in the reference current source of FIG. 1 and illustrating collector to base tie back for limiting current gain thereof.

FIG. 4 is a schematic circuit diagram of the opposite current generating circuit and diode means of FIG. 1 with the various current relationships labeled.

DESCRIPTION OF THE PREFERRED EMBODIMENTS The integrated circuit current source in accordance with this invention comprises a reference current source 11 having input terminals 12 and 13 and a reference current output terminal 14. A first source of voltage V is provided at a terminal 16 and a second source of voltage V is provided at the input terminal 13. A current-setting resistor 17 is connected between the terminal 16 and input terminal 12. The current setting resistor 17 in accordance with one embodiment of the invention is an external resistance which is external to the integrated circuit portions of this invention.

An opposite current generating circuit 18 is provided having a first current terminal 19, a second current terminal 21 and a control input terminal 22. Switching means 23 is provided and is connected between the control input terminal 22 and a source of reference potential at a terminal 24, with the reference potential in this instance being ground. The switching means 23 also has a control voltage terminal 26.

The second current terminal 21 forms a current output terminal to which a capacitor C and a Schmitt trigger 27 are connected. The Schmitt trigger 27 has an output terminal 28 which output is coupled to the control voltage terminal 26 of switching means 23. A first diode means 29 is connected between the reference current output terminal 14 and the first terminal 19 and a second diode means 31 is connected between the reference current output terminal 14 and the second current terminal 21.

In operation, the reference current source 11 has a very high impedance Iooking from the reference current output terminal 14 back into the reference current source 11 and establishes a constant current at the reference current output terminal 14 which is determined by the value of the voltages V V and the value of current setting resistor 17. The constant reference current output is essentially independent of temperature variations. Assuming that the switching means 23 is not actuated so that the opposite current generating circuit 18 is floating, diode means 31 is forward biased and the reference current present at the reference current output terminal 14 is conducted through diode means 31 and out the second current terminal 21 for charging the capacitor C. The voltage level on capacitor C controls operation, for example, of the Schmitt trigger 27. When the voltage across capacitor C builds to a predetermined level the voltage controlled oscillator 27 acting through its output on terminal 28 supplies a control voltage to the control voltage terminal 26 of switching means 23. Switching means 23 is responsive to this control voltage for connecting the control input terminal 22 of opposite generating circuit 18 to the terminal 24 and hence the source of reference potential, in this case, ground. With the opposite current generating circuit 18 grounded, diode means 31 is reverse biased and ceases conduction. The diode means 29, however, is forward biased and begins conducting the reference current from reference current output terminal 14 through switching means 23 to ground. The opposite current generating circuit 18 is responsive to the reference current flowing through the first current terminal 19 for generating an equal current from the second current terminal 21. That is, a current is drawn from the second current terminal 21 and hence the capacitor C which is equal to the reference current flowing through the first current terminal 19. Thus the capacitor C is discharged by this current drawn from the second current terminal 21. Since this current drawn from second current terminal 21 and hence the capacitor C is constant and equal in magnitude to the reference current from reference current output terminal 14 with which the capacitor was charged, the capacitor is discharged at the same rate at which it was charged. Since both the charging and discharging current for the capacitor C are constant, the charging and discharging of the capacitor C is linear. The linear variation of voltage across the capacitor C is useful in many applications and in accordance with one embodiment of the invention is used in conjunction with Schmitt trigger 27 for driving a very stable and very linear voltage controlled oscillator.

Turning now to a detailed consideration of the reference current source 11, the reference current source 1 1 includes transistors Q1, Q2, Q3, and Q4. The transistor Q2 is a lateral PNP transistor which has its emitter connected to the input terminal 12. The transistor 01 is an NPN transistor having its base connected to the input terminal 13 and its collector connected to the input terminal 12. The emitter of transistor Q] is connected to the base of transistor Q2. Transistor O3 is an NPN transistor and has its collector connected to the emitter of transistor Q1. The emitter of transistor Q3 is connected to the reference current output terminal 14. Transistor Q4 is an NPN transistor and has its collector connected to the collector of the lateral PNP transistor Q2 and its emitter connected to the reference current output terminal 14. The base of transistor 03 and the base of transistor Q4 are both connected to the collector of transistor Q2. A diode D1 is connected between the collector of transistor Q3 and the base of transistor Q1.

Referring now specifically to FIG. 2, there is reproduced the detailed circuitry of the reference current source with the various currents flowing therein labelled. Assuming that transistors Q3 and Q4 are matched so that the emitter current of transistor Q3,

I is equal to the emitter current of transistor Q4, I then the output current which is present at the reference current output terminal 14 is essentially independent of the current gain, B, of the lateral PNP transistor Q2 provided that the current gain of transistor Q2 remains above some preset value which in this case is one. Thus because transistors Q3 and Q4 are matched and transistor Q4 is diode connected, I is equal to l since the NPN transistors Q1, Q3, and 04 have a high current gain. Thus as long as the B of Q2 is greater than one, then the collector current of Q2, l is greater than its base current l and transistor Q1 has an emitter current i which makes up the difference between I m and I so as to allow the emitter currents i and i to be equal. The diode D1 is interconnected between the emitter and base of transistor 01 so as to insure starting current for transistor Q1. The emitter to base voltages of transistors 01 and Q2 approximately cancel each other. Hence the reference current output 1 is equal to the current through the current setting resistor 17, 1 plus the base current of transistor Q1, 1, If the B of transistor Q1 is high, than its base current I, is small and 1 is given by the following equation:

0 n qc)/( sx) The temperature coefficients of the emitter base junctions of transistors Q1 and Q2 should be similar and if R is an external resistor with a low temperature coefficient then 1,, and hence l are insensitive to temperature. The matching of transistors 03 and Q4 is not critical and serves only to set the lower limit of the current gain B of the PNP transistor Q2. The only criteria which has to be satisfied is that the base current of transistor Q2, I remain less than the emitter current of transistor 03 I For best operation the current gain B of the PNP transistor Q2 should be low so that transistor Q2 carries most of the current. Then the emitter current of transistor 01, I is small and hence its base current, is negligible.

in a more exact analysis of the operation of the reference current source 11 the value of the current I is given by the following:

R cc c sa'1 VBE'2)/(REX) Assuming that the transistors Q3 and Q4 are matched the following equation is obtained.

However where B is the NPN current gain of the transistors Q1, Q3, and Q4 and B is the PNP current gain of the PNP transistor Q2. The following relationship also obtains The value of the current i is also given by (7) and Then equation 3 becomes n 01 l m m)/(flbv02) from which follows from which follows (l l) floz Then from Equation 8 there is obtained 5o2+ fioa(5oi+ n Bi(5ui+ B" which reduces to But remembering that I R 181 l then (marso that under the normal condition where the NPN transistors are matched so that V is approximately equal to V and the current gain B of the NPN transistors is much greater than the current gain 3 of the PNP transistor 02 then n a cr J/( m) Thus a constant reference current I is obtained with there being a high impedance because of the lateral PNP transistor when looking back into the current source from the tenninal l4 and, as the above analysis has shown, the output reference current I is approximately independent of variations in the current gain of the lateral PNP transistor Q2 due to temperature variations or other causes.

The transistor 02 is shown in FIG. 2 as having a tie back between its base and collector. By utilizing such a tie back the current variation through transistor 01 can be more closely controlled and made smaller. This has the effect of minimizing base current necessary to drive 01 and hence affecting the reference current output l Referring to FIGS. 30, 3b, and 30, there is shown a physical arrangement of the semi-conductor regions forming the lateral PNP transistor 02. FIG. 3a is a top plan view showing various diffused and isolation regions in a support body 32; FIG. 3b is a cross-section view of the diffused semi-conductor regions and isolation region and FIG. 3c is a top plan view of a completed integrated circuit lateral PNP transistor 02 after an insulating material has been formed thereon and illustrating the metallization pattern and in particular showing the tie back arrangement between the base and collector. Referring specifically now to FIGS. 30 and 3b, a semi-conductor support body 32 has an insulating region 33 having a sidewall 33a and a bottom wall 33b within the confines of which a transistor is formed. The insulating region 33 may be any of the conventional integrated circuit insulating techniques such as dielectric isolation or PN junction isolation. A P region semi-conductor substrate 34 has an N region 36 which serves as a base for the PNP transistor formed therein. An N-lregion wlu'ch for example may be a diffused region forms a base contact region 37 and a P type region, which for example may be a diffused region 38, is formed in the N region 36 and serves as the emitter. A circular diffused P region 39 is formed in the N region 36 and serves as a collector region.

Referring now specifically to FIG. 3c there is shown the lateral PNP transistor illustrated in FIGS. 30 and 3b after an insulating coating 41 has been formed thereon and illustrating the metallization deposited on the insulating coating 41 for forming contacts to the PNP lateral transistor. Largearea base metallization 42 is formed for contacting the diffused N+ region 37 which is, in turn, in contact with the N region 36. Emitter metallization 43 is formed for contacting the emitter P region 38. As can be seen in FIG. 3c collector metallization for contacting the P type collector region 39 is formed in two parts, metallization 44a and metallization 44b. The metallization portion 44b forms the collector for the PNP transistor. The metallization portion 440 is connected through tie back metallization 46 to the large area base metallization 42. In accordance with a particular embodiment of this invention the collector metallization 44b is twice the area of the collector metallization 44a. This 2: l tie back ratio of the col lector to the base means that the effective current gain, B, of the lateral PNP transistor can never be greater than 2. Hence the collector current of transistor Q1 can never be greater than (I )/(4) whereas in the non-tiedback case the collector current of transistor 01 could approach (lg/(2), which would require twice as much base current into the transistor 01. Thus utilizing the tie back has the effect of minimizing the base current necessary to drive transistor 01 and enabling more accurate control of the output reference current I This tie back procedure can be used for almost any ratio of tie back for controlling the current gain of the lateral PNP transistor, providing of course that the intrinsic lateral PNP B is large enough for whatever current ratio is desired.

Returning again to a consideration of FIG. 1 the first diode means comprises a diode-connected NPN transistor Q5 having its collector and base electrodes connected to the reference current output terminal 14 and its emitter electrode connected to the first current terminal 19. The second diode means 31 comprises a diode-connected lateral PNP transistor Q6 having its emitter connected to the reference current output terminal 14 and its base and collector connected to the second current terminal 21.

The opposite current generating circuit 18 comprises three NPN transistors Q7. Q8 and Q9 and two matching resistors R1 and R2. The transistor Q7 has its collector connected to the second current terminal 21 and its base connected to the first current terminal 19. The transistor 08 has its collector connected to the first current tenninal l9 and its base connected to the emitter of transistor Q7. A transistor Q9 has its collector connected to the emitter of transistor 07 and its base also connected to the emitter of transistor 07. The emitter of transistor Q8 is connected through matching resistor R1 to the control input terminal 22 and the emitter of transistor O9 is connected through a matching resistor R2 to the control input terminal 22.

Switching means 23 is adapted upon receipt of a control voltage at its control voltage terminal 26 to connect the control input terminal 22 to a terminal 24 which is at a reference potential, which in this case is ground. Switching means 23 comprises an NPN transistor 010, a PNP transistor Q11 and an NPN transistor Q12. The transistor Q10 has its collector connected to the control input terminal 22 and its emitter connected to the terminal 24. Transistor Q11 is diode connected having its collector and base electrodes connected to the control input terminal 22 and its emitter connected to the control voltage terminal 26. Transistor 012 is also diode connected having its base connected to the control voltage terminal 26, its collector connected also to the control voltage terminal 26 and its emitter connected to the base of transistor Q10. A bleeder resistor R3 is connected between the base and emitter of transistor Q10. Transistor Q10 is the switching transistor and is adapted to be turned on for connecting the control input terminal 22 to the terminal 24 upon the receipt of a control voltage on control voltage terminal 26. The transistors Q12 and Q11 which are diode connected are provided merely to insure that the collector of transistor Q10 is held at some voltage slightly above ground in order to prevent saturation of transistor Q10 and provide for rapid switching thereof.

Turning now to a consideration of FIG. 4 there is reproduced the opposite current generating circuit and first and second diode means with various currents labelled thereon for facilitating discussion of the operation of the first and second diode means and the opposite current generating circuit. Assuming first of all that the switching means 26 is not actuated or on, then the opposite current generating circuit 18 is floating and the reference current l from the reference current output terminal l is conducted through the diode connected PNP transistor 06 to terminal 21 and hence to the capacitor c for charging the capacitor c. Since the reference current I is constant and independent of temperature variation the capacitor C is linearly charged with the voltage thereon building up in a linear fashion.

Assume now, however, that the switching means 26 has been actuated so that the control input terminal 22 is connected to the terminal 24 at the source of reference potential which in this case is ground. When the switching means 26 is actuated the voltage at the collector of transistor Q5 drops to a relatively low voltage which may be, for example on the order of 2.5 volts while the voltage at the second current terminal 21 due to the charge accumulating on the capacitor C is considerably higher, on the order of 10 volts for example. Thus the diode-connected lateral PNP transistor O6 is reverse biased. The reason for using a lateral PNP transistor is because it has a much higher reverse voltage breakdown than an NPN emitter base junction and consequently allows operation over a much larger range of supply voltages. A collector-base shorted lateral PNP transistor is used for transistor 06 rather than the collector-base junction of an NPN transistor in order to current loss to the integrated circuit substrate through parasitic PNP action.

With the diode connected transistor Q6 reverse biased the reference current I, from the reference current output terminal 14 flows through the diode connected transistor Q5 and the first current terminal 19 into the reverse current generating circuit 18. The opposite current generating circuit 18 includes three transistors, Q7, Q6, and Q9 and may include two matching resistors R1 and R2 which are shown in F IG. 1 but which are omitted for simplicity in FIG. 4. An opposite current generating circuit similar to that is shown in FIGS. 1 and 4 is described in an article entitled A Monolithic Junction FET-n-p-n Operational Amplifier" by George R. Wilson appearing at pages 343-344 of the IEEE Journal of Solid-State Circuits, Volume -33, No. 4, Dec., l968. Assuming that the reference current 1 flows from the first current terminal 19, the opposite current generating circuit is adapted to draw a current I from the second current terminal 21 and hence the capacitor C which, as will be demonstrated, is very nearly equal to the reference current I. In FIG. 4 the currents which are flowing in various parts of the opposite current generating circuit have been labelled with the quantity B referring to the current gain of transistors Q7, Q8 and Q9 which are all assumed to be equal. Thus the base current flowing in the base of transistor 07 is given by (IQ/(B) and the emitter current of transistor 07 is given by (5+1)! (B) (i The collector current of transistor 08 is given by L, (IQ/()3). The base current of transistor Q8 is given by (l)/(l3) (l 1,, )/(B). The emitter current i of transistor Q8 is thus given by The emitter current I of transistor Q9 is given by (3+ )KB) D- 1 )KB) 0 sl/(B)- Since the transistor Q9 is diode connected, then the emitter currents i and I of transistors 08 and 09, respectively, are equal so that 0) sl/(I l o) D)/(fi) (5+ )KB) 0) -(U/(fl) o) sl/(B) (1 which when rearranged gives n= o( U-( MB' B' (1 The matching resistors R1 and R2 are included to compensate for any possible mismatches between transistors 08 and O9 in order to insure that the emitter current I of transistor O8 is equal to the emitter current I of the transistor Q9. It can be seen from an inspection of equation 19 that the discharge current 1,, which is drawn from the second current terminal 21 and hence the capacitor C, is approximately equal to the reference current l which it will be recalled was used to charge the capacitor C. Assuming that B which is the current gain for transistors Q7, Q8 and O9, is on the order of lOO, then an inspection of equation l9 shows that the currents l and i will be very nearly equal. The capacitor C is discharged by the current 1,, which is very nearly equal to the reference current l which was used to charge the capacitor C. Thus the capacitor C is discharged in a linear fashion at approximately the same rate at which it was charged.

The sinking or discharge current I can be made any proportion of the sourcing or charging current l by adjustment of the values of the matching resistors RI and R2 and the emitter areas of the transistors 08 and 09. This happens because the sinking current I, which is generated by the opposite current generating circuit is determined by the reference current l and the voltage it sets up on the base of transistor Q9. For example, if matching resistor R2 is one-half the value of matching resistor R1 and the emitter area of transistor 09 is twice the area of the emitter of transistor 08, then the emitter current I of transistor Q9 would be equal to twice the emitter current i of transistor ()8 since the base voltages of transistors Q8 and Q9 are necessarily equal. Thus it is within the skill of one versed in the integrated circuit art to vary the proportions of the sourcing and sinking current 1 and I respectively to provide a ratio between the charging and discharging rate of the capacitor C.

Thus what has been described is a bilateral current source for providing linear and approximately equal sourcing and sinking currents for charging and discharging a capacitor in a linear and equal fashion. An improved constant current source utilizing a lateral connected PNP transistor is provided for generating a reference current source having a high impedance and a reference current output independent of current gain variations in the PNP transistor due to temperature variations by providing inter-connected NPN transistors. The constant reference current output is used to charge a capacitor in a linear fashion. An opposite current generating circuit is provided for generating a sinking current for discharging the capacitor which is very nearly equal to the reference current so that the capacitor is alternately charged and discharged at a linear rate for driving, for example, in conjunction with a Schmitt trigger, a linear and stable voltage controlled oscillator.

What is claimed is:

l. in combination, an integrated circuit bilateral current source for generating approximately equal sourcing and sinking currents for charging and discharging a capacitor in response to a control voltage comprising: a first source of voltage and a second of voltage; a reference current source having first and second input terminals and a reference current output terminal; a current setting resistor connected between said first source of voltage and said first input terminal; connecting means for connecting said second source of voltage to said second input terminal whereby a constant reference current appears on said reference current output terminal; an opposite current generating circuit having a control input terminal and first and second current terminals, said second current terminal also adapted to be connected to the capacitor for charging and discharging the capacitor; first diode means connected between said reference current output terminal and said first current terminal; second diode means connected between said reference current terminal and said second current terminal; a reference potential terminal; and switching means responsive to the control voltage for coupling said control input terminal to said reference potential terminal whereby when the switching means is not actuated the constant reference current flows through said second diode means and said second current terminal for charging the capacitor and whereby when said switching means is actuated said second diode means is reverse biased so that the constant reference current flows through said first diode means and said first current terminal into said opposite current generating circuit which draws a current from said second current temtinal for discharging the capacitor which is approximately equal to the constant reference current whereby the capacitor is discharged at the same rate at which it was charged.

2. The combination of claim 1 wherein said reference current source comprises a PNP transistor having its emitter connected to said first input terminal, a first NPN transistor having its collector connected to the collector of said PNP transistor and its emitter connected to said reference current output terminal, a second NPN transistor having its collector connected to the emitter of said PNP transistor and its emitter connected to the base of said PNP transistor, the base of said second NPN transistor being connected to said second source of voltage, a third NPN transistor having its collector connected to the base of said PNP transistor and its emitter connected to said reference current output terminal, the base of both said first and third NPN transistors being connected to the collector of said PNP transistor to cause equal base-emitter voltages to appear across said first and third NPN transistors whereby the emitter currents of said first and third NPN transistors are equal and approximately independent of the current gain of said PNP transistor.

3. The combination of claim 2 wherein said reference current source includes a diode connected between the emitter and base of said second NPN transistor to insure starting current therefore.

4. The combination of claim 2 wherein said PNP transistor is a lateral integrated circuit transistor and wherein said PNP transistor has collector-to-base tie back in order to limit its current gain.

5. The combination of claim 4 wherein said collector to base tie back is in the ratio of 2:1 whereby the PNP transistors current gain will be less than two.

6. The combination of claim 1 wherein said opposite current generating circuit comprises fourth and fifth transistors serially coupled between said second current terminal and said control input terminal, a sixth transistor serially coupled between said first current terminal and said control input terminal, the base of said fourth transistor connected to the collector of said sixth transistor, and the bases of said fifth transistor and said sixth transistor connected to the collector of said fifth transistor to cause equal base-emitter voltages to appear across said fifth and sixth transistors when said switching means is actuated whereby equal emitter currents flow from said fifth and sixth transistors when said switching means is actuated.

7. The combination of claim 6 wherein said first and second diode means comprise diode-connected transistors.

8. The combination of claim 7 wherein said second diode means comprises a lateral PNP diode-connected transistor able to withstand a relatively high reverse biase voltage.

9. The combination of claim 1 wherein said switching means comprises a seventh transistor serially coupled between said control input terminal and said reference potential terminal and adapted to be turned on by the control voltage to connect said control input terminal to said reference potential terminal.

10. The combination of claim 9 wherein said seventh transistor includes base-collector diode means for holding the collector thereof at a potential higher than the potential of said reference potential terminal to prevent saturation of said seventh transistor.

11. An opposite current generating circuit adapted to be connected to a capacitor for charging and discharging the capacitor at equal linear rates in accordance with a control voltage comprising: a constant current source having a reference current output terminal into which a constant reference current flows; a control input terminal; a reference potential terminal; switching means responsive to the control voltage for connecting said control input terminal to said reference potential terminal; first and second current terminals, said second current terminal adapted to be connected to the capacitor which is to be charged and discharged; first diode means connected between said reference current output terminal and said reference current terminal; second diode means connected between said reference current output terminal and said second current terminal; a pair of transistors serially coupled between said second current terminal and said control input terminal; an additional transistor serially coupled between said first current terminal and said control input terminal, the base of one of said pair of transistors coupled to the collector of said additional transistor and the base of the other of said pair of transistors and the base of said additional transistor coupled to the collector of said other of the pair of transistors whereby when said switching means is not actuated said second diode means is forward biased and the constant reference current flows therethrough and out through the second current terminal to linearly charge the capacitor, and whereby when said switching means is then actuated said second diode means is reverse biased and said first diode means is forward biased so that the constant reference current flows through said first diode means and said additional transistor and out the emitter thereof so that said other of said pair of transistors which has a base-emitter voltage equal to the base-emitter voltage of said additional transistor has an emitter current approximately equal to the emitter current of said additional transistor with said emitter current of said other of the pair of transistors being drawn from the capacitor through the second c nt erminal d one of e air f transisto s tlfat e capacit br i linearly di s ch rge at approx:

mately the same rate it was charged.

12. An opposite current generating circuit in accordance with claim 11 wherein said second diode means comprises an integrated circuit lateral PNP diode-connected transistor able to withstand a relativel y high reverse biase voltage.

13. An opposite current generating circuit in accordance with claim 11 wherein said switching means comprises a switching transistor connected between said reference potential and said control input terminal and responsive to the control voltage for connecting said reference potential terminal to said control input terminal.

14. An opposite current generating circuit in accordance with claim 13 wherein said switching transistor includes base-diode means for holding the collector thereof at a potential higher than the potential of said reference potential terminal to prevent satu ration of said switching transistor.

15. A reference current source for producing a constant, temperature-independent current at an output terminal and exhibiting a high impedance looking from the output terminal in the reference current source comprising: a first source of voltage and a second source of voltage; first and second input terminals; a current-setting resistor connected between said first source of voltage and said first input terminal; connecting means for connecting said second source of voltage to said second input terminal; a PNP transistor having its emitter connected to said first input terminal, a first NPN transistor having its collector connected to the collector of said PNP transistor and its emitter connected to said reference output terminal, a second NPN transistor having its collector connected to the emitter of said PNP transistor and its emitter connected to the base of said PNP transistor, the base of said second NPN transistor being connected to said second source of voltage, a third NPN transistor having its collector connected to the base of said PNP transistor and its emitter connected to the output terminal, the base of both said first and third NPN transistors being connected to the collector of said PNP transistor to cause equal emitter voltages to appear across said first and third NPN transistors whereby the emitter currents of said first and third NPN transistors are equal and approximately independent of the current gain of said PNP transistor.

16. A reference current source in accordance with claim 15 including a diode connected between the emitter and base of said second NPN transistor to insure starting current therefore.

17. A reference current source in accordance with claim 15 wherein said PNP transistor is a lateral integrated circuit transistor and wherein said PNP transistor has collectorto-base tie back in order to limit its current gain.

18. A reference current source in accordance with claim 17 wherein said collector to base tie back is in the ratio of 2:1 whereby the PNP transistors current gain will be less than two.

ll i l III 

1. In combination, an integrated circuit bilateral current source for generating approximately equal sourcing and sinking currents for charging and discharging a capacitor in response to a control voltage comprising: a first source of voltage and a second of voltage; a reference current source having first and second input terminals and a reference current output terminal; a current setting resistor connected between said first source of voltage and said first input terminal; connecting means for connecting said second source of voltage to said second input terminal whereby a constant reference current appears on said reference current output terminal; an opposite current generating circuit having a control input terminal and first and second current terminals, said second current terminal also adapted to be connected to the capacitor for charging and discharging the capacitor; first diode means connected between said reference current output terminal and said first current terminal; second diode means connected between said reference current terminal and said second current terminal; a reference potential terminal; and switching means responsive to the control voltage for coupling said control input terminal to said reference potential terminal whereby when the switching means is not actuated the constant reference current flows through said second diode means and said second current terminal for charging the capacitor and whereby when said switching means is actuated said second diode means is reverse biased so that the constant reference current flows through said first diode means and said first current terminal into said opposite current generating circuit which draws a current from said second current terminal for discharging the capacitor which is approximately equal to the constant reference current whereby the capacitor is discharged at the same rate at which it was charged.
 2. The combination of claim 1 wherein said reference current source comprises a PNP transistor having its emitter connected to said first input terminal, a first NPN transistor having its collector connected to the collector of said PNP transistor and its emitter connected to said reference current output terminal, a second NPN transistor having its collector connected to the emitter of said PNP transistor and its emitter connected to the base of said PNP transistor, the base of said second NPN transistor being connected to said second source of voltage, a third NPN transistor having its collector connected to the base of said PNP transistor and its emitter connected to said reference current output terminal, the base of both said first and third NPN transistors being connected to the collector of said PNP transistor to cause equal base-emitter voltages to appear across said first and third NPN transistors whereby the emitter currents of said first and third NPN transistors are equal and approximately independent of the current gain of said PNP transistor.
 3. The combination of claim 2 wherein said reference current source includes a diode connected between the emitter and base of said second NPN transistor to insure starting current therefore.
 4. The combination of claim 2 wherein said PNP transistor is a lateral integrated circuit transistor and wherein said PNP transistor has collector-to-base tie back in order to limit its current gain.
 5. The combination of claim 4 wherein said collector to base tie back is in the ratio of 2:1 whereby the PNP transistors current gain will be less than two.
 6. The combination of claim 1 wherein said opposite current generating circuit comprises fourth and fifth transistors serially coupled between said second current terminal and said control input terminal, a sixth transistor serially coupled between said first current terminal and said control input terminal, the base of said fourth transistor connected to the collEctor of said sixth transistor, and the bases of said fifth transistor and said sixth transistor connected to the collector of said fifth transistor to cause equal base-emitter voltages to appear across said fifth and sixth transistors when said switching means is actuated whereby equal emitter currents flow from said fifth and sixth transistors when said switching means is actuated.
 7. The combination of claim 6 wherein said first and second diode means comprise diode-connected transistors.
 8. The combination of claim 7 wherein said second diode means comprises a lateral PNP diode-connected transistor able to withstand a relatively high reverse biase voltage.
 9. The combination of claim 1 wherein said switching means comprises a seventh transistor serially coupled between said control input terminal and said reference potential terminal and adapted to be turned on by the control voltage to connect said control input terminal to said reference potential terminal.
 10. The combination of claim 9 wherein said seventh transistor includes base-collector diode means for holding the collector thereof at a potential higher than the potential of said reference potential terminal to prevent saturation of said seventh transistor.
 11. An opposite current generating circuit adapted to be connected to a capacitor for charging and discharging the capacitor at equal linear rates in accordance with a control voltage comprising: a constant current source having a reference current output terminal into which a constant reference current flows; a control input terminal; a reference potential terminal; switching means responsive to the control voltage for connecting said control input terminal to said reference potential terminal; first and second current terminals, said second current terminal adapted to be connected to the capacitor which is to be charged and discharged; first diode means connected between said reference current output terminal and said reference current terminal; second diode means connected between said reference current output terminal and said second current terminal; a pair of transistors serially coupled between said second current terminal and said control input terminal; an additional transistor serially coupled between said first current terminal and said control input terminal, the base of one of said pair of transistors coupled to the collector of said additional transistor and the base of the other of said pair of transistors and the base of said additional transistor coupled to the collector of said other of the pair of transistors whereby when said switching means is not actuated said second diode means is forward biased and the constant reference current flows therethrough and out through the second current terminal to linearly charge the capacitor, and whereby when said switching means is then actuated said second diode means is reverse biased and said first diode means is forward biased so that the constant reference current flows through said first diode means and said additional transistor and out the emitter thereof so that said other of said pair of transistors which has a base-emitter voltage equal to the base-emitter voltage of said additional transistor has an emitter current approximately equal to the emitter current of said additional transistor with said emitter current of said other of the pair of transistors being drawn from the capacitor through the second current terminal and said one of the pair of transistors so that the capacitor is linearly discharged at approximately the same rate it was charged.
 12. An opposite current generating circuit in accordance with claim 11 wherein said second diode means comprises an integrated circuit lateral PNP diode-connected transistor able to withstand a relatively high reverse biase voltage.
 13. An opposite current generating circuit in accordance with claim 11 wherein said switching means comprises a switching transistor connected between said reference potential and said control input terMinal and responsive to the control voltage for connecting said reference potential terminal to said control input terminal.
 14. An opposite current generating circuit in accordance with claim 13 wherein said switching transistor includes base-diode means for holding the collector thereof at a potential higher than the potential of said reference potential terminal to prevent saturation of said switching transistor.
 15. A reference current source for producing a constant, temperature-independent current at an output terminal and exhibiting a high impedance looking from the output terminal in the reference current source comprising: a first source of voltage and a second source of voltage; first and second input terminals; a current-setting resistor connected between said first source of voltage and said first input terminal; connecting means for connecting said second source of voltage to said second input terminal; a PNP transistor having its emitter connected to said first input terminal, a first NPN transistor having its collector connected to the collector of said PNP transistor and its emitter connected to said reference output terminal, a second NPN transistor having its collector connected to the emitter of said PNP transistor and its emitter connected to the base of said PNP transistor, the base of said second NPN transistor being connected to said second source of voltage, a third NPN transistor having its collector connected to the base of said PNP transistor and its emitter connected to the output terminal, the base of both said first and third NPN transistors being connected to the collector of said PNP transistor to cause equal emitter voltages to appear across said first and third NPN transistors whereby the emitter currents of said first and third NPN transistors are equal and approximately independent of the current gain of said PNP transistor.
 16. A reference current source in accordance with claim 15 including a diode connected between the emitter and base of said second NPN transistor to insure starting current therefore.
 17. A reference current source in accordance with claim 15 wherein said PNP transistor is a lateral integrated circuit transistor and wherein said PNP transistor has collector-to-base tie back in order to limit its current gain.
 18. A reference current source in accordance with claim 17 wherein said collector to base tie back is in the ratio of 2:1 whereby the PNP transistors current gain will be less than two. 